package com.afu.thread;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * ClassName: ProlblemTest
 * Package: com.afu.thread
 * Description:
 *
 * @Author zxf
 * @Create 2024/2/26 17:24
 * @Version 1.0
 */
public class ProlblemTest {

    public static void main(String[] args) {
        ThreadSecurityProblem  threadSecurityProblem= new ThreadSecurityProblem("窗口1");
        ThreadSecurityProblem threadSecurityProble2 = new ThreadSecurityProblem("窗口2");
        ThreadSecurityProblem threadSecurityProble3 = new ThreadSecurityProblem("窗口3");
        Thread thread1 = new Thread(threadSecurityProblem);
        Thread thread2 = new Thread(threadSecurityProble2);
        Thread thread3 = new Thread(threadSecurityProble3);
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
